package ${package};

<#if tableClass.allFields??>
    <#list tableClass.allFields as field>
        <#if field.typePackage != "java.lang"  && field.fullTypeName != "java.util.Date"  && field.typePackage != tableClass.packageName >
import ${field.fullTypeName};

        </#if>
    </#list>
</#if>
<#if tableClass.allFields??>
    <#list tableClass.allFields as field>
        <#if field.fullTypeName == "java.util.Date">
            <#assign importDate = true />
        </#if>
    </#list>
</#if>
<#if importDate??>
import java.util.Date;
</#if>

<#assign dateTime = .now>
/**
* MybatisGenerator 代码生成器生成
*
*
*
* @since ${dateTime?string["yyyy-MM-dd HH:mm:ss"]}
*/

public class ${tableClass.shortClassName}${mapperSuffix} {

<#if tableClass.allFields??>
    <#list tableClass.allFields as field>

    /**
    * ${field.remarks}
    */
    private ${field.shortTypeName} ${field.fieldName};
    </#list>
</#if>

<#if tableClass.allFields??>
    <#list tableClass.allFields as field>

    /**
    * 获取${field.remarks}
    *
    * @return ${field.fieldName}
    */
    public ${field.shortTypeName} get${field.fieldName?cap_first}() {
        return ${field.fieldName};
    }

    /**
    * 设置${field.remarks}
    *
    * @param ${field.fieldName}
    */
    public void set${field.fieldName?cap_first}(${field.shortTypeName} ${field.fieldName}) {
        this.${field.fieldName} = ${field.fieldName};
    }
    </#list>
</#if>

}

